package router

import (
	"github.com/gin-gonic/gin"
	"shop_srv_api/user_web/api"
	"shop_srv_api/user_web/middlewares"
)

/**
 * @Description
 * @Author huran
 * @Date
 * @Param
 * @return
 **/

func InitUserRouter(router *gin.RouterGroup) {
	user := router.Group("/user")
	user.GET("/list", middlewares.JWTAuth(), api.GetUsrList)
	user.POST("/login", api.Login)
}
